﻿using AbpDemo.Entity;
using AutoMapper;
using study.Departments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace study.Students.Dto
{
    public class StudentMapProfile : Profile
    {
        public StudentMapProfile()
        {
            CreateMap<StudentDto, Student>();
            CreateMap<CreateStudentDto, Student>();

            CreateMap<Student, StudentDto>();
        }
    }
}
